﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;
using FwProject.ShoppingMall.EventAdvertising;

namespace FwProject.EventAdvertising.Dto
{
    [AutoMap(typeof(Notice))]
    public class NoticeDto: EntityDto<Guid>, ICreationAudited
    {
        /// <summary>
        /// 公告标题
        /// </summary>
        [Display(Name = "公告标题")]
        public string NoticeName { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        [Display(Name = "是否启用")]
        public bool IsActive { get; set; } = true;

        public long? CreatorUserId { get ; set ; }

        [Display(Name ="创建时间")]
        public DateTime CreationTime { get ; set ; }
    }
}
